Release 10.1A: OpenEdge Data Management:
SQL Reference


POWER

Returns expression1 raised to the power of expression2.

Syntax

POWER ( expression1 , expression2 ) 

Example

This example illustrates the POWER function, raising ‘3’ to the second power:

SELECT POWER ( 3 , 2) '3 raised to the 2nd power'  
     FROM SYSPROGRESS.SYSCALCTABLE; 

Notes


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095